.class public Lcom/waiqin365/base/login/CustomLoginHeadPicPreviewActy;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;


# instance fields
.field private a:Lcom/waiqin365/lightapp/im/widget/photoview/PhotoView;

.field private b:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    return-void
.end method


# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
    .locals 3

    const/16 v1, 0x400

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/CustomLoginHeadPicPreviewActy;->requestWindowFeature(I)Z

    invoke-virtual {p0}, Lcom/waiqin365/base/login/CustomLoginHeadPicPreviewActy;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0, v1, v1}, Landroid/view/Window;->setFlags(II)V

    const v0, 0x7f0300bc

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/CustomLoginHeadPicPreviewActy;->setContentView(I)V

    const v0, 0x7f0c04ac

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/CustomLoginHeadPicPreviewActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/im/widget/photoview/PhotoView;

    iput-object v0, p0, Lcom/waiqin365/base/login/CustomLoginHeadPicPreviewActy;->a:Lcom/waiqin365/lightapp/im/widget/photoview/PhotoView;

    invoke-virtual {p0}, Lcom/waiqin365/base/login/CustomLoginHeadPicPreviewActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "pic"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string/jumbo v0, "cuslogin_mydata_data_pic"

    const-string/jumbo v1, ""

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/CustomLoginHeadPicPreviewActy;->b:Ljava/lang/String;

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/base/login/CustomLoginHeadPicPreviewActy;->b:Ljava/lang/String;

    const-string/jumbo v1, "_small"

    const-string/jumbo v2, ""

    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/CustomLoginHeadPicPreviewActy;->b:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/base/login/CustomLoginHeadPicPreviewActy;->mContext:Landroid/content/Context;

    iget-object v1, p0, Lcom/waiqin365/base/login/CustomLoginHeadPicPreviewActy;->a:Lcom/waiqin365/lightapp/im/widget/photoview/PhotoView;

    iget-object v2, p0, Lcom/waiqin365/base/login/CustomLoginHeadPicPreviewActy;->b:Ljava/lang/String;

    invoke-static {v0, v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;Landroid/widget/ImageView;Ljava/lang/String;)V

    return-void

    :cond_0
    invoke-virtual {p0}, Lcom/waiqin365/base/login/CustomLoginHeadPicPreviewActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "pic"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/CustomLoginHeadPicPreviewActy;->b:Ljava/lang/String;

    goto :goto_0
.end method
